 |
 |
 |
 |
 |
 |
listrecord->nextrecord
= new recdata;
|
|
if
(listrecord->nextrecord == NULL)
|
|
cout <<"3: unable to allocate
storage space";
|
listrecord =
listrecord->nextrecord;
|
|
listrecord->number =
53;
|
|
listrecord->code
= "This is the third record";
|
|
listrecord->nextrecord
= NULL;
|
|